﻿package plugin.systemSets
{
    import com.sh.game.consts.*;
    import com.sh.game.global.*;
    import plugin.systemSets.game.*;
    import view.*;

    public class SystemSet extends FlashUIBase
    {
        private var _ui:SystemSetGame;

        public function SystemSet()
        {
            return;
        }// end function

        override protected function preLoaderInit() : void
        {
            super.preLoaderInit();
            appendLoader(Config.getUrl("assets/images/mornui/common.swf", ResourceType.NORMAL));
            appendLoader(Config.getUrl("assets/images/mornui/Systemset.swf", ResourceType.NORMAL));
            return;
        }// end function

        override protected function initGUI() : void
        {
            this._ui = new SystemSetGame(this);
            mGUI = this._ui;
            return;
        }// end function

        override protected function openRefresh() : void
        {
            this._ui.showPage(data);
            this._ui.initEvent();
            return;
        }// end function

        override protected function closeComplete() : void
        {
            this._ui.removeEvent();
            super.closeComplete();
            return;
        }// end function

    }
}
